package cn.edu.hrbcu.es.invigilatemanagerment.service;

import cn.edu.hrbcu.es.invigilatemanagerment.pojo.Course;

import java.util.List;

public interface ICourseService {
    List<Course> queryAllCourse();

    Course queryCourseById(Integer id);

    Integer deleteCourseById(Integer id);

    Integer updateCourseById(Course course);

    Integer insertCourse(Course course);

    List<Course> queryCourseByName(String name);

    int queryTotalCount();

    List<Course> queryCourseByPage(int pageNow, int pageSize);
}
